home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Font / c / FontPaint3 next >
Text File  |  1995-07-08  |  1KB  |  40 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    Font.c.LoseAll
  12.     Author:  Copyright © 1995 Julian Smith
  13.     Version: 1.00 (08 Jul 1995)
  14.     Purpose: Veneer for the RISC OS 3 Font_Paint SWI.
  15.              If someone could convert this into assembler...
  16. */
  17.  
  18.  
  19. #include "DeskLib:Font.h"
  20. #include "DeskLib:SWI.h"
  21.  
  22. #ifndef SWI_Font_Paint
  23. #define SWI_Font_Paint    0x40086
  24. #endif
  25.  
  26. os_error    *Font_Paint3( 
  27.             font_handle        font, 
  28.             const char        *string, 
  29.             unsigned int        plottype,
  30.             int            x,
  31.             int            y,
  32.             font_coorblock        *coorblock,
  33.             font_transformation    *transformation,
  34.             int            length
  35.             )
  36. {
  37. return SWI( 8, 0, SWI_Font_Paint, font, string, plottype, x, y, coorblock, transformation, length);
  38. }
  39.  
  40.